import style from './test.css';
import style2 from './test2.css';
import style3 from './index.css';

import React from "react";
import ReactDOM from "react-dom";

class App2 extends React.Component {
    constructor(props) {
        super(props);
    }

    componentDidMount() {
        console.log('componentDidMount');
        var element = ReactDOM.findDOMNode(this);
        console.log(element);
    }

    render() {
        return <div className={`${style3.ttTt} ${style3.testRed}`}>HelloDom</div>
    }
}

ReactDOM.render(<App2 />, document.getElementById("testDiv"));
